package com.niu.business.utils;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;
@Component
public  class BusiUtilsException {

    public static Exception createException(String msg,Exception e){

        return new Exception("",e);
    }

    public static Exception createException(String msg){

        return new Exception(msg);
    }

}
